home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / demos / scicos / demo4.cosf < prev    next >
Text File  |  1999-09-16  |  11KB  |  401 lines

  1. x = list(..
  2. list([600 ,400],'demo4',..
  3. [ .0001;
  4.  .000001;
  5. 1.000E-10],145,1),..
  6. list('Block',list([233 ,110],[40 ,40],%t,' ',[],14,[],[]),..
  7. list('super',0,1,0,0,[],[],..
  8. list(..
  9. list([600 ,400],'Ypos',[ .0001; .000001;1.000E-10],29,[]),..
  10. list('Block',..
  11. list([240 ,164],[60,40],%t,' ',[47;50;6],[4;5],37,[]),..
  12. list('tcslti',3,2,1,0,[10;10],[],..
  13. [0;0;1;0;0;1;1;0;0;1;0;0],[],'c',%f,[%f,%f]),' ','TCLSS_f'),..
  14. list('Block',list([257,44],[40,40],%f,'Damping ',5,6,[],[]),..
  15. list('gain',1,1,0,0,[],[],-.98,[],'c',%f,[%t,%f]),' ','GAIN_f'),..
  16. list('Link',..
  17. [308.57143;311.75468;320.81218],..
  18. [190.66667;190.66667;190.66667],'drawlink',' ',[0,0],[1,1],[2,1],[49,1]),..
  19. list('Link',[308.57143;336.2862;336.2862;336.2862;302.71429],..
  20. [177.33333;177.33333;143.62018;64;64],..
  21. 'drawlink',' ',[0,0],[1,1],[2,2],[3,1]),..
  22. list('Link',[251.28571;179.89779;179.89779;231.42857],..
  23. [64;64;174;174],'drawlink',' ',[0,0],[1,1],[3,1],[2,3]),..
  24. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  25. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  26. list('Block',list([382,295],[40,40],%t,' ',56,[],[],48),..
  27. list('zcross',1,0,0,1,[],[],[-1;-1;-1;0],[],'z',%f,[%t,%f]),' ','POSTONEG_f'),..
  28. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  29. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  30. list('Deleted'),list('Deleted'),..
  31. list('Block',list([215,318],[40,40],%f,' ',33,[],[],58),..
  32. list('zcross',1,0,0,1,[],[],[-1;-1;0;-1],[],'z',%f,[%t,%f]),' ','NEGTOPOS_f'),..
  33. list('Deleted'),..
  34. list('Block',..
  35. list([291,329],[16.666667,16.666667],%f,' ',[57;0;45],33,[],[]),..
  36. list('sum',3,1,0,0,[],[],[1;1;1],[],'c',%f,[%t,%f]),' ','SOM_f'),..
  37. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  38. list('Link',[288.61905;274.16667;274.16667;260.71429],..
  39. [337.33333;337.33333;338;338],'drawlink',' ',[0,0],[1,1],[28,1],[26,1]),..
  40. list('Block',list([266,248],[16.666667,16.666667],%t,' ',[],[],[0;58;48],37),..
  41. list('sum',0,0,3,1,[],[],[],[],'d',%f,[%f,%f]),' ','CLKSOM_f'),..
  42. list('Deleted'),list('Deleted'),..
  43. list('Link',..
  44. [277.94938;291.31175;291.31175;270;270],..
  45. [256.33333;256.33333;231.45401;231.45401;209.71429],..
  46. 'drawlink',' ',[0,0],[10,-1],[34,1],[2,1]),..
  47. list('Block',list([498,252],[20,20],%t,'Y pos',54,[],[],[]),..
  48. list('output',1,0,0,0,[],[],[],1,'c',%f,[%f,%f]),' ','OUT_f'),..
  49. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  50. list('Deleted'),..
  51. list('Block',list([485,343],[40,40],%f,'Height ',[],45,[],[]),..
  52. list('cstblk',0,1,0,0,[],[],-15,[],'d',%f,[%f,%f]),' ','CONST_f'),..
  53. list('Link',..
  54. [423.28571;295.94924;295.94924],..
  55. [363;363;345.66667],'drawlink',' ',[0,0],[1,1],[44,1],[28,3]),..
  56. list('Block',list([44,174],[40,40],%t,'Gravity ',[],47,[],[]),..
  57. list('cstblk',0,1,0,0,[],[],-9.81,[],'d',%f,[%f,%f]),' ','CONST_f'),..
  58. list('Link',[89.714286;231.42857],..
  59. [194;194],'drawlink',' ',[0,0],[1,1],[46,1],[2,1]),..
  60. list('Link',..
  61. [402;402;270.94924;270.94924],..
  62. [289.28571;282.62108;282.62108;264.66667],..
  63. 'drawlink',' ',[0,0],[10,-1],[15,1],[34,3]),..
  64. list('Block',..
  65. list(..
  66. [320.81218;
  67. 190.66667],[1,1],%t,' ',4,..
  68. [50;
  69. 51],[],[]),list('lsplit',1,2,0,0,[],[],[],[],'c',%f,[%t,%f]),' ','SPLIT_f'),..
  70. list('Link',..
  71. [320.81218;
  72. 320.954;
  73. 320.954;
  74. 207.49574;
  75. 207.49574;
  76. 231.42857],..
  77. [190.66667;
  78. 190.66667;
  79. 141.24629;
  80. 141.24629;
  81. 184;
  82. 184],'drawlink',' ',[0,0],[1,1],[49,1],[2,2]),..
  83. list('Link',..
  84. [320.81218;
  85. 320.81218],..
  86. [190.66667;
  87. 262],'drawlink',' ',[0,0],[1,1],[49,2],[52,1]),..
  88. list('Block',..
  89. list([320.81218,262],[1,1],%t,' ',51,..
  90. [53;
  91. 54],[],[]),list('lsplit',1,2,0,0,[],[],[],[],'c',%f,[%t,%f]),' ','SPLIT_f'),..
  92. list('Link',..
  93. [320.81218;
  94. 320.81218],..
  95. [262;
  96. 312.25071],'drawlink',' ',[0,0],[1,1],[52,1],[55,1]),..
  97. list('Link',..
  98. [320.81218;
  99. 498],..
  100. [262;
  101. 262],'drawlink',' ',[0,0],[1,1],[52,2],[38,1]),..
  102. list('Block',..
  103. list(..
  104. [320.81218;
  105. 312.25071],[1,1],%t,' ',53,..
  106. [56;
  107. 57],[],[]),list('lsplit',1,2,0,0,[],[],[],[],'c',%f,[%t,%f]),' ','SPLIT_f'),..
  108. list('Link',..
  109. [320.81218;
  110. 320.81218;
  111. 376.28571],..
  112. [312.25071;
  113. 315;
  114. 315],'drawlink',' ',[0,0],[1,1],[55,1],[15,1]),..
  115. list('Link',..
  116. [320.81218;
  117. 295.94924;
  118. 295.94924],..
  119. [312.25071;
  120. 312.25071;
  121. 329],'drawlink',' ',[0,0],[1,1],[55,2],[28,1]),..
  122. list('Link',..
  123. [235;
  124. 235;
  125. 266],..
  126. [312.28571;
  127. 256.33333;
  128. 256.33333],'drawlink',' ',[0,0],[10,-1],[26,1],[34,2]),..
  129. list('Text',list([345,107],[37.563452,20.512821],%t,'Ydot',[],[],[],[]),..
  130. list('text',0,0,0,0,[],[],[],..
  131. [2;
  132. 1],'c',%f,[%f,%f]),' ','TEXT_f'),..
  133. list('Text',list([206,289],[64.974619,20.512821],%t,'ceiling hit',[],[],[],[]),..
  134. list('text',0,0,0,0,[],[],[],..
  135. [2;
  136. 1],'c',%f,[%f,%f]),' ','TEXT_f'),..
  137. list('Text',list([329,268],[53.807107,20.512821],%t,'floor hit',[],[],[],[]),..
  138. list('text',0,0,0,0,[],[],[],..
  139. [2;
  140. 1],'c',%f,[%f,%f]),' ','TEXT_f')),[],'h',%f,[%f,%f]),' ','SUPER_f'),..
  141. list('Block',list([233,212],[40,40],%t,' ',[],13,[],[]),..
  142. list('super',0,1,0,0,[],[],..
  143. list(..
  144. list([600,400],'Xpos',..
  145. [ .0001;
  146.  .000001;
  147. 1.000E-10],29,[]),..
  148. list('Block',list([240,164],[60,40],%t,' ',..
  149. [47;50;6],[4;5],37,[]),list('tcslti',3,2,1,0,[3;6],[],..
  150. [0;0;1;0;0;1;1;0;0;1;0;0],[],'c',%f,[%f,%f]),' ','TCLSS_f'),..
  151. list('Block',list([257,44],[40,40],%f,'Damping ',5,6,[],[]),..
  152. list('gain',1,1,0,0,[],[],-.98,[],'c',%f,[%t,%f]),' ','GAIN_f'),..
  153. list('Link',..
  154. [308.57143;
  155. 311.75468;
  156. 320.81218],..
  157. [190.66667;
  158. 190.66667;
  159. 190.66667],'drawlink',' ',[0,0],[1,1],[2,1],[49,1]),..
  160. list('Link',..
  161. [308.57143;
  162. 336.2862;
  163. 336.2862;
  164. 336.2862;
  165. 302.71429],..
  166. [177.33333;
  167. 177.33333;
  168. 143.62018;
  169. 64;
  170. 64],'drawlink',' ',[0,0],[1,1],[2,2],[3,1]),..
  171. list('Link',..
  172. [251.28571;
  173. 179.89779;
  174. 179.89779;
  175. 231.42857],..
  176. [64;
  177. 64;
  178. 174;
  179. 174],'drawlink',' ',[0,0],[1,1],[3,1],[2,3]),list('Deleted'),list('Deleted'),..
  180. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  181. list('Deleted'),..
  182. list('Block',list([382,295],[40,40],%t,' ',56,[],[],48),..
  183. list('zcross',1,0,0,1,[],[],..
  184. [-1;
  185. -1;
  186. -1;
  187. 0],[],'z',%f,[%t,%f]),' ','POSTONEG_f'),list('Deleted'),list('Deleted'),list('Deleted'),..
  188. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  189. list('Deleted'),list('Deleted'),..
  190. list('Block',list([215,318],[40,40],%f,' ',33,[],[],58),..
  191. list('zcross',1,0,0,1,[],[],..
  192. [-1;
  193. -1;
  194. 0;
  195. -1],[],'z',%f,[%t,%f]),' ','NEGTOPOS_f'),list('Deleted'),..
  196. list('Block',..
  197. list([291,329],[16.666667,16.666667],%f,' ',..
  198. [57;
  199. 0;
  200. 59],33,[],[]),..
  201. list('sum',3,1,0,0,[],[],..
  202. [1;
  203. 1;
  204. 1],[],'c',%f,[%t,%f]),' ','SOM_f'),list('Deleted'),list('Deleted'),list('Deleted'),..
  205. list('Deleted'),..
  206. list('Link',..
  207. [288.61905;
  208. 274.16667;
  209. 274.16667;
  210. 260.71429],..
  211. [337.33333;
  212. 337.33333;
  213. 338;
  214. 338],'drawlink',' ',[0,0],[1,1],[28,1],[26,1]),..
  215. list('Block',..
  216. list([266,248],[16.666667,16.666667],%t,' ',[],[],..
  217. [0;
  218. 58;
  219. 48],37),list('sum',0,0,3,1,[],[],[],[],'d',%f,[%f,%f]),' ','CLKSOM_f'),list('Deleted'),..
  220. list('Deleted'),..
  221. list('Link',..
  222. [277.94938;
  223. 291.31175;
  224. 291.31175;
  225. 270;
  226. 270],..
  227. [256.33333;
  228. 256.33333;
  229. 231.45401;
  230. 231.45401;
  231. 209.71429],'drawlink',' ',[0,0],[10,-1],[34,1],[2,1]),..
  232. list('Block',list([498,252],[20,20],%t,'X pos',54,[],[],[]),..
  233. list('output',1,0,0,0,[],[],[],1,'c',%f,[%f,%f]),' ','OUT_f'),list('Deleted'),..
  234. list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  235. list('Block',list([469,343],[40,40],%f,'X boundary',[],59,[],[]),..
  236. list('cstblk',0,1,0,0,[],[],-5,[],'d',%f,[%f,%f]),' ','CONST_f'),list('Deleted'),..
  237. list('Block',list([44,174],[40,40],%t,' ',[],47,[],[]),..
  238. list('cstblk',0,1,0,0,[],[],0,[],'d',%f,[%f,%f]),' ','CONST_f'),..
  239. list('Link',..
  240. [89.714286;
  241. 231.42857],..
  242. [194;
  243. 194],'drawlink',' ',[0,0],[1,1],[46,1],[2,1]),..
  244. list('Link',..
  245. [402;
  246. 402;
  247. 270.94924;
  248. 270.94924],..
  249. [289.28571;
  250. 282.62108;
  251. 282.62108;
  252. 264.66667],'drawlink',' ',[0,0],[10,-1],[15,1],[34,3]),..
  253. list('Block',..
  254. list(..
  255. [320.81218;
  256. 190.66667],[1,1],%t,' ',4,..
  257. [50;
  258. 51],[],[]),list('lsplit',1,2,0,0,[],[],[],[],'c',%f,[%t,%f]),' ','SPLIT_f'),..
  259. list('Link',..
  260. [320.81218;
  261. 320.954;
  262. 320.954;
  263. 207.49574;
  264. 207.49574;
  265. 231.42857],..
  266. [190.66667;
  267. 190.66667;
  268. 141.24629;
  269. 141.24629;
  270. 184;
  271. 184],'drawlink',' ',[0,0],[1,1],[49,1],[2,2]),..
  272. list('Link',..
  273. [320.81218;
  274. 320.81218],..
  275. [190.66667;
  276. 262],'drawlink',' ',[0,0],[1,1],[49,2],[52,1]),..
  277. list('Block',..
  278. list([320.81218,262],[1,1],%t,' ',51,..
  279. [53;
  280. 54],[],[]),list('lsplit',1,2,0,0,[],[],[],[],'c',%f,[%t,%f]),' ','SPLIT_f'),..
  281. list('Link',..
  282. [320.81218;
  283. 320.81218],..
  284. [262;
  285. 312.25071],'drawlink',' ',[0,0],[1,1],[52,1],[55,1]),..
  286. list('Link',..
  287. [320.81218;
  288. 498],..
  289. [262;
  290. 262],'drawlink',' ',[0,0],[1,1],[52,2],[38,1]),..
  291. list('Block',..
  292. list(..
  293. [320.81218;
  294. 312.25071],[1,1],%t,' ',53,..
  295. [56;
  296. 57],[],[]),list('lsplit',1,2,0,0,[],[],[],[],'c',%f,[%t,%f]),' ','SPLIT_f'),..
  297. list('Link',..
  298. [320.81218;
  299. 320.81218;
  300. 376.28571],..
  301. [312.25071;
  302. 315;
  303. 315],'drawlink',' ',[0,0],[1,1],[55,1],[15,1]),..
  304. list('Link',..
  305. [320.81218;
  306. 295.94924;
  307. 295.94924],..
  308. [312.25071;
  309. 312.25071;
  310. 329],'drawlink',' ',[0,0],[1,1],[55,2],[28,1]),..
  311. list('Link',..
  312. [235;
  313. 235;
  314. 266],..
  315. [312.28571;
  316. 256.33333;
  317. 256.33333],'drawlink',' ',[0,0],[10,-1],[26,1],[34,2]),..
  318. list('Link',..
  319. [463.28571;
  320. 295.94924;
  321. 295.94924],..
  322. [363;
  323. 363;
  324. 345.66667],'drawlink',' ',[0,0],[1,1],[44,1],[28,3]),..
  325. list('Text',list([200,290],[81.28,20.16],%t,'right wall hit',[],[],[],[]),..
  326. list('text',0,0,0,0,[],[],[],..
  327. [2;
  328. 1],'c',%f,[%f,%f]),' ','TEXT_f'),..
  329. list('Text',list([348,268],[73.152,20.16],%t,'left wall hit',[],[],[],[]),..
  330. list('text',0,0,0,0,[],[],[],..
  331. [2;
  332. 1],'c',%f,[%f,%f]),' ','TEXT_f')),[],'h',%f,[%f,%f]),' ','SUPER_f'),..
  333. list('Block',list([409,328],[40,40],%t,' ',[],[],[],12),..
  334. list('csuper',0,0,0,1,[],[],..
  335. list(list([],' ',[],[]),..
  336. list('Block',list([],[],%t,' ',[],[],6,4),..
  337. list('evtdly',0,0,1,1,[],[], .03,[],'d',%t,[%f,%f]),' ','EVTDLY_f'),..
  338. list('Block',list([],[],%t,'Out',[],[],7,[]),..
  339. list('output',0,0,1,0,[],[],[],1,'d',%f,[%f,%f]),' ','CLKOUT_f'),..
  340. list('Link',[],[],'drawlink',' ',[0,0],[10,-1],[2,1],[5,1]),..
  341. list('Block',..
  342. list([],[],%t,' ',[],[],4,..
  343. [6;
  344. 7]),list('lsplit',0,0,1,2,[],[],[],[],'d',[%f,%f],[%t,%f]),' ','CLKSPLIT_f'),..
  345. list('Link',[],[],'drawlink',' ',[0,0],[10,-1],[5,1],[2,1]),..
  346. list('Link',[],[],'drawlink',' ',[0,0],[10,-1],[5,2],[3,1])),[],'h',%f,[%f,%f]),..
  347. ' ','CLOCK_f'),list('Deleted'),list('Deleted'),list('Deleted'),list('Deleted'),..
  348. list('Text',list([289,248],[68.020305,20.512821],%t,'X position',[],[],[],[]),..
  349. list('text',0,0,0,0,[],[],[],..
  350. [2;
  351. 1],'c',%f,[%f,%f]),' ','TEXT_f'),..
  352. list('Text',list([288,106],[67.005076,20.512821],%t,'Y position',[],[],[],[]),..
  353. list('text',0,0,0,0,[],[],[],..
  354. [2;
  355. 1],'c',%f,[%f,%f]),' ','TEXT_f'),..
  356. list('Block',..
  357. list([409,162],[40,40],%t,'Anim',..
  358. [13;
  359. 14],[],12,[]),..
  360. list('scopxy',2,0,1,0,[],..
  361. [0;
  362. 0;
  363. 0],..
  364. [-.2;
  365. 5.2;
  366. -.2;
  367. 15.2],..
  368. [10;
  369. 1;
  370. 1;
  371. 3;
  372. 4;
  373. 0],'d',%f,[%f,%f]),' ','ANIMXY_f'),..
  374. list('Link',..
  375. [429;
  376. 428.5;
  377. 428.5;
  378. 429],..
  379. [322.28571;
  380. 322.28571;
  381. 207.71429;
  382. 207.71429],'drawlink',' ',[0,0],[10,-1],[4,1],[11,1]),..
  383. list('Link',..
  384. [278.71429;
  385. 372.58883;
  386. 372.58883;
  387. 403.28571],..
  388. [232;
  389. 232;
  390. 188.66667;
  391. 188.66667],'drawlink',' ',[0,0],[1,1],[3,1],[11,1]),..
  392. list('Link',..
  393. [278.71429;
  394. 368.52792;
  395. 368.52792;
  396. 403.28571],..
  397. [130;
  398. 130;
  399. 175.33333;
  400. 175.33333],'drawlink',' ',[0,0],[1,1],[2,1],[11,2]))
  401.